Creating a Content Map |
|
A content map is a common repository in Process Platform used to maintain pairs of source and target values. This is very useful in scenarios where a large set of values need to be transformed, and mapped to the target. Process Platform provides its own repository for storing content maps, thus eliminating the need to use external tools. Content maps are meant to store static data and do not dynamically change as in the case of Web services or other models used in Data Transformation. As many content maps as needed can be created, bundled, and deployed along with the ISV applications. While creating a data transformation model, you can look up the content repository using an XSLT function(Local Lookup), and map the values.
For example, let us consider the instance where data needs to be transformed between two disparate systems. The Source system uses a BaaN application and the Target system uses an SAP application. The value for an entity like itemcode is represented in the Source system as 100 but the same in the Target system is represented as IC100. You can create a relation between these two systems in a content map and use it in the Local lookup function and transform the data.
The following is the procedure to create these content maps:
- Access the Content Map ()modeler to create a content map. The Content Map modeler page appears, displaying a table.
- To add a new value pair, click and do the following:
- In the Entity field, type an ID that identifies the source and target values. For example, you may type itemcode as the Entity.
- In the Source System field, type the name of the system which consists the source value. For example, provide the Source System as BaaN.
Note: While mapping data, the XSLT function (Local lookup) enables you to specify the source system from which the value pairs are to be picked up.
- In the Source Value field, type the value for the entity in the source system. For example, provide the Source Value as 100.
- In the Destination System field, type the name of the destination system for the target value pair. For example, provide the Destination System as SAP.
- In the Destination Value field, type the value for the entity in the destination system. For example, provide the Destination Value as IC100.
- To add more value pairs, repeat step 2.
- Click . The Save Document dialog box appears.
- Type a name in the Name field and description in the Description field, click to browse and select the location to save the Content Map.
- Click Save. The Save Document dialog box closes.
A content map is created for the selected value pairs. When the itemcode in the Source Template is provided as 100 in the local lookup function, the itemcode in the Target Template will be transformed to IC100.Important: To use this content map in local lookup function, you must publish it. Right-click the content map and select Publish to Organization.